package com.briup.jz.service;

import com.briup.jz.bean.Role;
import com.briup.jz.bean.extend.RoleExtend;
import com.briup.jz.utils.CustomerException;

import java.util.List;

/**
 * @program: jz
 * @description: 角色业务接口
 * @author: catmilko
 * @create: 2020/6/12 15:54
 **/

public interface IRoleService {
    List<Role> findAll();

    Role findById(long id);

    void saveOrUpdate(Role role) throws CustomerException;

    void deleteById(long id) throws CustomerException;
}
